;(function($){
    $.fn.extend({
        sliderbox:function(options){
            var defaults = {
                wordsts:'wordsts',
                hoveClass:'hovere',
                stepLen:780,
                autoRun:true
            }
            var o =  $.extend(defaults, options);
            var sliderbox = $("#"+ $(this).attr('id'));
            var sliderLen = sliderbox.find("li").length;
            var wordsts = $("."+ o.wordsts).find("a");
            var maxLen = parseInt(sliderLen* o.stepLen);
            sliderbox.css({width:maxLen+"px"});
            wordsts.each(function(index){
                wordsts.eq(index).click(function(){
                    var offLeft = sliderbox.attr("left");
                    wordsts.removeClass(''+o.hoveClass+'');
                    wordsts.eq(index).addClass('hovere');
                    sliderbox.animate({left:"-"+parseInt(o.stepLen*index)+"px"},"slow");
                });
            });
        }
    });
})(jQuery)